package com.magic.item.service;

import com.magic.item.pojo.Category;

import java.util.List;

/**
 * Created by zhuqin on 2021/1/4
 */
public interface CategoryService {
    
    List<Category> queryCategoryListByParentId(Long pid);
    
    void addCategory(Category category);
    
    void updateCategory(Category category);
    
    void deleteCategory(Long id);
    
    List<Category> queryCategoryId(Long id);
    
    List<String> queryNamesByIds(List<Long> ids);
}
